import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//引入阿里
import './assets/iconfont/iconfont.css'

//引入全局样式
import './assets/css/init.css'
//引入动画库
// import 'animate.css'

const app=createApp(App)

//注册全局组件
import PageView from './components/PageView.vue'
app.component("page-view",PageView)


//注册vant中的全局组件
import {Toast,Lazyload} from 'vant'
app.use(Toast).use(Lazyload) //Toast 轻提示

createApp(App).use(store).use(router).mount('#app')
